﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace TheDrinksApp.Screen.Order
{
    public partial class IceLemonYNItem : UserControl
    {
        private bool isCheckIce = false;
        private bool isCheckLemon = false;

        public bool IsCheckLemon
        {
            get { return isCheckLemon; }
            set { isCheckLemon = value; }
        }

        public bool IsCheckIce
        {
            get { return isCheckIce; }
            set { isCheckIce = value; }
        }

        public IceLemonYNItem()
        {
            InitializeComponent();
        }

        private void toggleLemon_Checked(object sender, RoutedEventArgs e)
        {
            IsCheckLemon = true;
        }

        private void toggleLemon_Unchecked(object sender, RoutedEventArgs e)
        {
            IsCheckLemon = false;
        }

        private void toggleIce_Unchecked(object sender, RoutedEventArgs e)
        {
            IsCheckIce = false;
        }

        private void toggleIce_Checked(object sender, RoutedEventArgs e)
        {
            IsCheckIce = true;
        }
    }
}
